<?php /* Smarty version Smarty-3.1.18, created on 2017-06-06 16:33:34
         compiled from "/data/www/mystery/protected/modules/webadmin/views/network/import.tpl" */ ?>
<?php /*%%SmartyHeaderCode:121023531654cf5a3d6d7a61-19155075%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '89440707a005fa77c389822f8f27abda10dd2532' => 
    array (
      0 => '/data/www/mystery/protected/modules/webadmin/views/network/import.tpl',
      1 => 1494904922,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '121023531654cf5a3d6d7a61-19155075',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_54cf5a3d717d20_20126508',
  'variables' => 
  array (
    'banklist' => 0,
    'key' => 0,
    'val' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_54cf5a3d717d20_20126508')) {function content_54cf5a3d717d20_20126508($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("../common/header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<table width="100%" border="0" cellspacing="0">
	<tr>
		<td width="13%" valign="top">
			<?php echo $_smarty_tpl->getSubTemplate ("../common/left.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

		</td>
		<td width="87%" valign="top">

			<table width="100%" border="0" cellspacing="0">
				<tr>
					<td>
						<div class="subnav">
							<div class="content-menu ib-a blue line-x"> <a href="javascript:void(0);" class="on"><em>导入网点</em></a></div>
						</div>
						<div class="pad_10">
							<div class="table-list">
								<div class="common-form">
									<form name="myform" action="/webadmin/network/doImport" method="post" id="myform" enctype="multipart/form-data">
										所属银行：
										<select name="bank_id">
											<option value="0">=请选择=</option>
											<?php  $_smarty_tpl->tpl_vars['val'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['val']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['banklist']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['val']->key => $_smarty_tpl->tpl_vars['val']->value) {
$_smarty_tpl->tpl_vars['val']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['val']->key;
?>
												<option value="<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['val']->value;?>
</option>
											<?php } ?>
										</select>
										<br><br>
										选择网点EXCEL：
										<input type="file" name="upfile"/>
                                                                                &nbsp;&nbsp;
                                                                                <a href="/webadmin/network/templateDown" class="button">网点导入模板下载</a>
										
										<div class="bk15"></div>
										<input name="dosubmit" type="submit" value="提交" class="button">
									</form>
								</div>
								
							</div>
						</div>

					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<script type="text/javascript">
	$(document).ready(function(){
		$('form[name="myform"]').submit(function(){
			var bank_id = $('select[name="bank_id"]').val();
			if (!parseInt(bank_id)) {
				alert('请选选择所属银行');
				return false;
			}
			return true;
		})
	});
</script>
<?php echo $_smarty_tpl->getSubTemplate ("../common/footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
<?php }} ?>
